<?php

class user extends CActiveRecord
{
	public static function model($className = __CLASS__ )
	{
		return parent::model($className);
	}
	
	public function relations()
	{
		return array(
			"group" => array(self::BELONGS_TO, "group", "group_id"),
		);
	}
}
